<template>
  <div>
    <Modal v-model="novicePop" width="827" :closable="false" :mask-closable="false" class-name="vertical-center-modal">
      <div slot="header"></div>
      <div class="content-sty">
        <img :src="imgUrl" class="lead-img" alt="">
        <Icon type="md-close" class="close" @click="closeMet()" />
      </div>
      <div slot="footer"></div>
    </Modal>
  </div>
</template>
<script>

export default {
  data() {
    return {
      novicePop: false,
      imgUrl: 'https://libcdn1.hahbuy.com/guide/如何提现.gif'
    }
  },
  methods: {
    open() {
      this.novicePop = true;
    },
    closeMet() {
      this.novicePop = false;
    }
  }
}
</script>

<style lang="less" scoped>
:deep(.ivu-modal-content) {
  border-radius: 12px;
}

:deep(.ivu-modal-header) {
  border: none;
  padding: 0;
  height: 0;
}

:deep(.ivu-modal-body) {
  height: 520px;
  padding: 0;
}

:deep(.ivu-modal-footer) {
  border: none;
  height: 0;
  padding: 0;
}

.vertical-center-modal {
  display: flex;
  align-items: center;
  justify-content: center;

  .content-sty {
    height: 520px;
    background: linear-gradient(180deg, #EBF9FF 0%, #D0E6FF 100%);
    border-radius: 12px;
    padding: 32px 24px;

    .lead-img {
      width: 100%;
      height: 100%;
      position: relative;
    }

    .close {
      color: #1E1714;
      font-size: 32px;
      font-weight: 500;
      cursor: pointer;
      position: absolute;
      right: 10px;
      top: 14px;
    }

  }
}
</style>
